﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabSales_Order_Item
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? item_code { get; set; }
        public string? customer_item_code { get; set; }
        public int ensure_delivery_based_on_produced_serial_no { get; set; }
        public DateOnly? delivery_date { get; set; }
        public string? item_name { get; set; }
        public string? description { get; set; }
        public string? item_group { get; set; }
        public string? brand { get; set; }
        public string? image { get; set; }
        public decimal qty { get; set; }
        public string? stock_uom { get; set; }
        public string? uom { get; set; }
        public decimal conversion_factor { get; set; }
        public decimal stock_qty { get; set; }
        public decimal price_list_rate { get; set; }
        public decimal base_price_list_rate { get; set; }
        public string? margin_type { get; set; }
        public decimal margin_rate_or_amount { get; set; }
        public decimal rate_with_margin { get; set; }
        public decimal discount_percentage { get; set; }
        public decimal discount_amount { get; set; }
        public decimal base_rate_with_margin { get; set; }
        public decimal rate { get; set; }
        public decimal amount { get; set; }
        public string? item_tax_template { get; set; }
        public decimal base_rate { get; set; }
        public decimal base_amount { get; set; }
        public string? pricing_rules { get; set; }
        public decimal stock_uom_rate { get; set; }
        public int is_free_item { get; set; }
        public int grant_commission { get; set; }
        public decimal net_rate { get; set; }
        public decimal net_amount { get; set; }
        public decimal base_net_rate { get; set; }
        public decimal base_net_amount { get; set; }
        public decimal billed_amt { get; set; }
        public decimal valuation_rate { get; set; }
        public decimal gross_profit { get; set; }
        public int delivered_by_supplier { get; set; }
        public string? supplier { get; set; }
        public decimal weight_per_unit { get; set; }
        public decimal total_weight { get; set; }
        public string? weight_uom { get; set; }
        public string? warehouse { get; set; }
        public string? target_warehouse { get; set; }
        public string? prevdoc_docname { get; set; }
        public string? quotation_item { get; set; }
        public int against_blanket_order { get; set; }
        public string? blanket_order { get; set; }
        public decimal blanket_order_rate { get; set; }
        public string? bom_no { get; set; }
        public decimal projected_qty { get; set; }
        public decimal actual_qty { get; set; }
        public decimal ordered_qty { get; set; }
        public decimal planned_qty { get; set; }
        public decimal production_plan_qty { get; set; }
        public decimal work_order_qty { get; set; }
        public decimal delivered_qty { get; set; }
        public decimal produced_qty { get; set; }
        public decimal returned_qty { get; set; }
        public decimal picked_qty { get; set; }
        public string? additional_notes { get; set; }
        public int page_break { get; set; }
        public string? item_tax_rate { get; set; }
        public DateOnly? transaction_date { get; set; }
        public string? material_request { get; set; }
        public string? purchase_order { get; set; }
        public string? material_request_item { get; set; }
        public string? purchase_order_item { get; set; }
        public string? parent { get; set; }
        public string? parentfield { get; set; }
        public string? parenttype { get; set; }
    }
}
